from microbit import *

while True:
    for i in range(10):
        display.set_pixel(0, 0, i)
        display.set_pixel(4, 4, 9 - i)
        sleep(100)